﻿using B.X.Rabbit.Domain.Autofac;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.X.Rabbit.Domain.Culture
{
    /// <summary>
    /// 养殖企业信息
    /// </summary>
    public class BreedingEnterprise:BaseFieId
    {
        /// <summary>
        /// 养殖企业ID
        /// </summary>
        [Key]
        public int EnterpriseId { get; set; }
        /// <summary>
        /// 养殖场
        /// </summary>
        public string? Farm { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? Principal { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public int BreedingStock { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;
        /// <summary>
        /// 养殖信息ID
        /// </summary>
        public int BreedingId { get; set; }
    }
}
